package com.yj.cloudnote.service.Impl;

import com.yj.cloudnote.mongo.dao.DemoDao;
import com.yj.cloudnote.service.MongoTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MongoTestServiceImpl implements MongoTestService {
    @Autowired
    private DemoDao demoDao;
    @Override
    public String insertTest() {
        demoDao.insert();
        return "success";
    }
}
